notebook: Fix copy/paste error
authorBenjamin Otte <otte@redhat.com>
Sat, 7 Nov 2015 00:45:35 +0000 (01:45 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 7 Nov 2015 02:29:44 +0000 (03:29 +0100)
This is from the recent commit 2a1a483edef1c94a795855dec08d91a4421ceb13

gtk/gtknotebook.c

index f7e5ff9a8e4627ccb9268c601ce744d155156648..f5a539e77d66b4a94089ad84c74a5f837393265a 100644 (file)
@@ -6176,7 +6176,7 @@ gtk_notebook_calculate_tabs_allocation (GtkNotebook  *notebook,
            * see gtk_notebook_page_allocate().
            */
           gtk_style_context_save_to_node (context, page->cssnode);
-          gtk_style_context_get_padding (context, gtk_style_context_get_state (context), &active_padding);
+          gtk_style_context_get_padding (context, gtk_style_context_get_state (context), &normal_padding);
           gtk_style_context_restore (context);
 
           gtk_style_context_save_to_node (context, priv->cur_page->cssnode);